package com.example.xm.servive.impl;

import com.example.xm.Entity.Gwc;
import com.example.xm.mapper.GwcMapper;
import com.example.xm.servive.GwcServive;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GwcServiveImpl implements GwcServive {

    @Autowired
    GwcMapper gwcMapper;

    @Override
    public List<Gwc> getAllGwc(Gwc gwc) {
        return gwcMapper.getAllGwc(gwc);
    }

    @Override
    public int del(String id) {
        return gwcMapper.del(id);
    }

    @Override
    public boolean Btndelete(Integer[] ids) {
        return gwcMapper.Btndelete(ids);
    }

    @Override
    public int UpdateGwc(Gwc gwc) {
        return gwcMapper.UpdateGwc(gwc);
    }

    @Override
    public Gwc getDd(String id) {
        return gwcMapper.getDd(id);
    }
}
